<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="static/vue-2.5.16.js"></script>
</head>
<body>
<div id="app">
    <input type="text"><br>
    <input type="button">
    <hr>
    <v1 title="python"></v1>
    <br>
    <v1 title="redis"></v1>
</div>
</body>
</html>
<script>
    Vue.component('v1',{
        template:'<h1>{{title}}</h1>',
        props:['title']
    });
    var app=new Vue({
        el:'#app'
    });
</script>